     #include "ros/ros.h"
     #include "newmsg/camera_wheel.h"
     #include "newmsg/obstacle_distance.h"
     #include "newmsg/order.h"
     #include "newmsg/sick_odom.h"

     #include <sstream>
  

 int main(int argc, char **argv)
   {

    ros::init(argc, argv, "test_pub");
 
    ros::NodeHandle n;


       newmsg::sick_odom sick_odom_msg;
    ros::Publisher sick_odom_pub = n.advertise<newmsg::sick_odom>("sick_odom", 1000);
  
    ros::Rate loop_rate(10);

     int count = 0;
     while (ros::ok())
     {
       sick_odom_msg.position_x=1.0;
         sick_odom_msg.position_y=2.0;
         sick_odom_msg.angle=30.0;
 
      sick_odom_pub.publish(sick_odom_msg); 
      ros::spinOnce();
  
      loop_rate.sleep();
      ++count;
    }
   return 0;
  }
